package com.ruoyi.qbms.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库选择题对象 qbms_question_choice
 * 
 * @author zouhuu
 * @date 2022-10-17
 */
public class QbmsQuestionChoice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long categoryId;

    /** 科目ID */
    @Excel(name = "科目ID")
    private Long subjectId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long chapterId;

    /** 题干 */
    @Excel(name = "题干")
    private String stem;

    /** 选择题类型(10判断题 11单选题 12共用答案单选题) */
    @Excel(name = "选择题类型(10判断题 11单选题 12共用答案单选题)")
    private Integer choiceCategory;

    /** 选择题题型(10 A型题 11A1型题) */
    @Excel(name = "选择题题型(10 A型题 11A1型题)")
    private Integer choiceType;

    /** 题目等级(0-5) */
    @Excel(name = "题目等级(0-5)")
    private Integer issueGrade;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;

    /** 科目名称 */
    @Excel(name = "科目名称")
    private String subjectName;

    /** 章节名称 */
    @Excel(name = "章节名称")
    private String chapterName;

    /** 删除状态(0正常 1删除) */
    private Integer delFlag;

    /** 数据状态(0正常 1停用) */
    @Excel(name = "数据状态(0正常 1停用)")
    private Integer status;

    /** 题库选择题问题信息 */
    private List<QbmsQuestionChoiceIssue> qbmsQuestionChoiceIssueList;

    public QbmsQuestionChoice() {
    }

    public QbmsQuestionChoice(Long categoryId) {
        this.categoryId = categoryId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setSubjectId(Long subjectId) 
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId() 
    {
        return subjectId;
    }
    public void setChapterId(Long chapterId) 
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId() 
    {
        return chapterId;
    }
    public void setStem(String stem) 
    {
        this.stem = stem;
    }

    public String getStem() 
    {
        return stem;
    }
    public void setChoiceCategory(Integer choiceCategory) 
    {
        this.choiceCategory = choiceCategory;
    }

    public Integer getChoiceCategory() 
    {
        return choiceCategory;
    }
    public void setChoiceType(Integer choiceType) 
    {
        this.choiceType = choiceType;
    }

    public Integer getChoiceType() 
    {
        return choiceType;
    }
    public void setIssueGrade(Integer issueGrade) 
    {
        this.issueGrade = issueGrade;
    }

    public Integer getIssueGrade() 
    {
        return issueGrade;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setSubjectName(String subjectName) 
    {
        this.subjectName = subjectName;
    }

    public String getSubjectName() 
    {
        return subjectName;
    }
    public void setChapterName(String chapterName) 
    {
        this.chapterName = chapterName;
    }

    public String getChapterName() 
    {
        return chapterName;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public List<QbmsQuestionChoiceIssue> getQbmsQuestionChoiceIssueList()
    {
        return qbmsQuestionChoiceIssueList;
    }

    public void setQbmsQuestionChoiceIssueList(List<QbmsQuestionChoiceIssue> qbmsQuestionChoiceIssueList)
    {
        this.qbmsQuestionChoiceIssueList = qbmsQuestionChoiceIssueList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("categoryId", getCategoryId())
            .append("subjectId", getSubjectId())
            .append("chapterId", getChapterId())
            .append("stem", getStem())
            .append("choiceCategory", getChoiceCategory())
            .append("choiceType", getChoiceType())
            .append("issueGrade", getIssueGrade())
            .append("sort", getSort())
            .append("categoryName", getCategoryName())
            .append("subjectName", getSubjectName())
            .append("chapterName", getChapterName())
            .append("delFlag", getDelFlag())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("qbmsQuestionChoiceIssueList", getQbmsQuestionChoiceIssueList())
            .toString();
    }
}
